package office.action.hr.form;

import office.bo.hr.impl.StationChange;
import platform.common.bo.IIdentifiableObj;

public class StationChangeForm {

	private String id;
	private String userId;				//用户id
	private String name;				//姓名
	private String dept;				//部门
	private String office;				//原职务
	private String appointmentDate;		//入职时间
	private String newOffice;			//拟定职务
	private String changeType;			//异动类型
	private String selfAgree;			//本人意见
	private String entryDate;			//申请时间
	private String state;				//状态
	private String entryRole;				//提交审批人的角色
	private String checkRole;
	private String deptId;					//部门id
	private String companyId;
	private String roleDFlag;
	
	public IIdentifiableObj copyPropertiesToBO(IIdentifiableObj newObj) {
		StationChange bo = (StationChange)newObj;
		bo.setId(this.id);
		bo.setNewOffice(newOffice);//拟定职务
		bo.setAppointmentDate(appointmentDate);//入职时间
		bo.setChangeType(changeType);//异动类型
		bo.setSelfAgree(selfAgree);//本人意见
		return bo;
	}
	
	public StationChangeForm(){
		
	}
	/**
	 * 查询异动信息
	 * @param name
	 * @param userId
	 * @param id
	 * @param office
	 * @param appointmentDate
	 * @param newOffice
	 * @param changeType
	 * @param selfAgree
	 */
	public StationChangeForm(String name,String userId,String id,
			String office,String appointmentDate,String newOffice,
			String changeType,String selfAgree,String entryDate,String state,
			String entryRole,String checkRole,String deptName) {
		this.userId = userId;
		this.name = name;
		this.id = id;
		this.office = office;
		this.appointmentDate = appointmentDate;
		this.newOffice = newOffice;
		this.changeType = changeType;
		this.selfAgree = selfAgree;
		this.entryDate = entryDate;
		this.state = state;
		this.entryRole = entryRole;
		this.checkRole = checkRole;
		this.dept = deptName;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	public String getOffice() {
		return office;
	}
	public void setOffice(String office) {
		this.office = office;
	}
	public String getAppointmentDate() {
		return appointmentDate;
	}
	public void setAppointmentDate(String appointmentDate) {
		this.appointmentDate = appointmentDate;
	}
	public String getNewOffice() {
		return newOffice;
	}
	public void setNewOffice(String newOffice) {
		this.newOffice = newOffice;
	}
	public String getChangeType() {
		return changeType;
	}
	public void setChangeType(String changeType) {
		this.changeType = changeType;
	}
	public String getSelfAgree() {
		return selfAgree;
	}
	public void setSelfAgree(String selfAgree) {
		this.selfAgree = selfAgree;
	}
	public String getEntryDate() {
		return entryDate;
	}
	public void setEntryDate(String entryDate) {
		this.entryDate = entryDate;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}

	public String getEntryRole() {
		return entryRole;
	}

	public void setEntryRole(String entryRole) {
		this.entryRole = entryRole;
	}

	public String getCheckRole() {
		return checkRole;
	}

	public void setCheckRole(String checkRole) {
		this.checkRole = checkRole;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getRoleDFlag() {
		return roleDFlag;
	}

	public void setRoleDFlag(String roleDFlag) {
		this.roleDFlag = roleDFlag;
	}
	
}
